﻿namespace BlamanticUI.Components;

/// <summary>
/// Layout certain components with <see cref="Icon"/> component.
/// </summary>
[CssClass("content")]
public class Content : BlazorChildContentComponentBase, IHasVisibility, IHasHidden, IHasFloated, IHasVerticalAlignment, IHasInline
{
    /// <summary>
    /// Gets or sets a value indicating whether is visible.
    /// </summary>
    /// <value>
    ///   <c>true</c> if visible; otherwise, <c>false</c>.
    /// </value>
    [Parameter] public bool Visible { get; set; }
    /// <summary>
    /// Gets or sets a value indicating whether is hidden.
    /// </summary>
    /// <value>
    ///   <c>true</c> if hidden; otherwise, <c>false</c>.
    /// </value>
    [Parameter] public bool Hidden { get; set; }
    /// <summary>
    /// Gets or sets the float position.
    /// </summary>
    [Parameter] public HorizontalPosition? Floated { get; set; }
    /// <summary>
    /// Gets or sets the vertical alignment of text.
    /// </summary>
    [Parameter] public VerticalAlignment? VerticalAlignment { get; set; }
    /// <summary>
    /// Gets or sets a value indicating whether is inline paragraph.
    /// </summary>
    [Parameter] public bool Inline { get; set; }

    /// <summary>
    /// Gets or sets a value that display as extra content style.
    /// </summary>
    [Parameter] public bool Extra { get; set; }
}
